package com.jy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 车位区域表
 * </p>
 *
 * @author xiexingxin
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_area")
public class Area implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 区域ID
     */
    @TableId(value = "areaId", type = IdType.AUTO)
    private Integer areaId;

    /**
     * 区域名
     */
    @TableField("a_name")
    private String aName;

    /**
     * 1表示地下车位，2表示地面车位
     */
    @TableField("t_upanddown")
    private String tUpanddown;


}
